Skip to content

feat: comments overhaul, shortcut simplification, and minor fixes#27

Merged
GraysonCAdams merged 4 commits intomainfrom
feat/comments-overhaul-and-shortcut-simplification
Mar 1, 2026
Merged

feat: comments overhaul, shortcut simplification, and minor fixes#27
GraysonCAdams merged 4 commits intomainfrom
feat/comments-overhaul-and-shortcut-simplification

Conversation

@GraysonCAdams
Copy link
Copy Markdown
Collaborator

Summary

  • Comment system enhancements: editing (with seen-by-others guard), heart popover (long-press to see who hearted), reaction events interleaved in comment stream, self-heart prevention, and edit/delete guards based on whether others have viewed
  • iOS Shortcut simplification: cookie-based auth (Safari shares session with Shortcuts app), 3-step setup with downloadable template instead of 7 manual steps, removed token/API URL display from settings
  • Minor fixes: GIF picker layout alignment, home tap signal reset to prevent repeated triggers

Test plan

  • Verify comment editing works and is blocked after others view
  • Verify heart popover shows on long-press
  • Verify self-hearting is prevented
  • Verify reaction events appear in comment stream
  • Verify iOS Shortcut sharing works with cookie auth
  • Verify share setup page shows 3 simplified steps
  • Verify GIF picker layout renders correctly

…n guards

- Add PATCH endpoint to edit comments (only if unseen by others)
- Guard comment/reply deletion so it's blocked after others have viewed
- Prevent self-hearting on own comments
- Show who hearted a comment via long-press popover
- Interleave reaction events into the comments feed stream
- Add canEdit flag to comment responses for client-side UI gating
- Extract CommentRow component from CommentsSheet to reduce file size
- Share API now prefers cookie auth (Safari shares session with Shortcuts)
- Fall back to token+phone auth for backwards compatibility
- Simplify setup page from 7 steps to 3 with a downloadable template
- Remove token/API URL display from ShortcutManager settings
- Show "Get Shortcut" link directly in settings when URL is configured
- Add "from shortcut" error state to share page for failed auto-shares
- Fix multi-user heart test to not self-heart (author can't heart own comment)
- Add explicit test for self-hearting prevention (expects 403)
@GraysonCAdams GraysonCAdams merged commit 4807181 into main Mar 1, 2026
17 checks passed
@GraysonCAdams GraysonCAdams deleted the feat/comments-overhaul-and-shortcut-simplification branch March 1, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant